SftTree/OCX 7.0

VirtualItem.RowPictureAlign Property

Softel vdm, Inc.

Defines the position of the graphic displayed in an item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.ImageHAlign and VirtualItem.Item.RowHeader.ImageVAlign instead

Syntax       

Put

VB.NET

object.RowPictureAlign = Align  As SftTreeAlignConstants

VB

object.RowPictureAlign = Align  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants object.RowPictureAlign = Align;

VC++

enum SftTreeAlignConstants object->RowPictureAlign = Align;
void object->PutRowPictureAlign(enum SftTreeAlignConstants Align);

C

HRESULT object->put_RowPictureAlign(enum SftTreeAlignConstants Align);

Delphi

object.RowPictureAlign := Align  : TOleEnum;

object

A VirtualItem object.

Align

Defines the position of the graphic displayed in the item's row header.

One value of each of the following tables can be combined and used as Align value:

Horizontal Alignment

Value

Description

alignSftTreeLeft 

0

The graphic is on the left of the row header text.  If no horizontal alignment value is specified, this is the default.

alignSftTreeCenter

1

The graphic is centered in the row header.  The row header text is not displayed.

alignSftTreeRight 

2

The graphic is on the right of the row header text.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The graphic is vertically centered.  If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The graphic is aligned with the top of the available area.

alignSftTreeBottom

64

The graphic is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.ImageHAlign and VirtualItem.Item.RowHeader.ImageVAlign instead

The RowPictureAlign property defines the position of the graphic displayed in an item's row header.

The VirtualItem.RowPictureAlign property is used while handling a VirtualItem event to define the position of the graphic displayed in the item's row header.  The item is described by the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com